package net.hserver.admin.system.common;

/**
 * 通用异常
 *
*
 * @since 2020/3/18 20:45
 */
public class MyException extends RuntimeException {
    private final MyResult result;

    public MyException(MyResult result) {
        super(result.getMessage());
        this.result = result;
    }

    public MyResult getResult() {
        return result;
    }
}
